package thinking.a15.b2;

/**
 * 只能持有单个对象的类
 * @author yuan
 */
class Automobile {}

public class Holder1 {
    private Automobile a;

    public Holder1(Automobile a) {
        this.a = a;
    }

    public Automobile get() {
        return a;
    }
}
